package com.dms.modules.message.service;

import com.dms.modules.message.dto.BusinessMessageDTO;
import com.dms.modules.message.dto.MessageDTO;
import com.dms.modules.message.dto.MessageDetailDTO;
import com.dms.modules.message.enums.BusinessMessageType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;

import java.util.Collections;

/**
 * 业务消息服务
 */
public interface BusinessMessageService {
    
    /**
     * 发送业务消息
     */
    void sendMessage(BusinessMessageDTO message);
    
    /**
     * 广播业务消息
     */
    void broadcastMessage(BusinessMessageDTO message);
    
    /**
     * 发送业务消息
     */
    void sendBusinessMessage(BusinessMessageDTO businessMessage);
    
    /**
     * 获取消息类型
     */
    int getMessageType(BusinessMessageType type);
} 